#ifndef BASE_CLASSIFIER_H__CMU_
#define BASE_CLASSIFIER_H__CMU_

#include "data_structure.h"
#include <string>
using namespace std;

class base_classifier {
public :
	virtual bool train(boosting_problem & prob, double * d_t, int argc, char ** argv) = 0;
	virtual double test(boosting_node * x) = 0;
	virtual void load(string filename) = 0;
	virtual void dump(string filename) = 0;
	virtual string get_type() = 0;

	virtual ~base_classifier(){}
};

#endif